RedirectHeaderSettings Class [IIS 7 and higher]

Contains redirect name/value pairs that are added to the HTTP headers in responses from the Web server.

Syntax

class RedirectHeaderSettings : EmbeddedObject

Methods

This class contains no methods.

Properties

The following table lists the properties exposed by the RedirectHeaderSettings class.

Name

Description

RedirectHeaders

An array of NameValueConfigurationElement values that contain redirect name/value pairs that are added to the HTTP headers in responses from the Web server.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are contained in the RedirectHeaders property of the HttpProtocolSection class.

Inheritance Hierarchy

EmbeddedObject

   RedirectHeaderSettings

Requirements

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

CustomHeaderSettings Class [IIS 7 and higher]

EmbeddedObject Class [IIS 7 and higher]

HttpProtocolSection Class [IIS 7 and higher]

NameValueConfigurationElement Class [IIS 7 and higher]